<%-- 
    Document   : cboThanhPho
    Created on : 26-10-2011, 09:52:48
    Author     : VuTienIT
--%>

<%@page import="java.util.ArrayList" %>
<%@page import="model.pojo.*" %>
<%@page import="model.dao.*" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<option value="999999">=Chưa chọn=</option>
<%
String tt = request.getParameter("id");
int mamh = Integer.parseInt(tt);

ArrayList<QuanPOJO> theloai = QuanDAO.getDanhSach(mamh);
for(int i= 0;i< theloai.size();i++){
    QuanPOJO tl = theloai.get(i);
    
%>
    <option value='<%= tl.getMaQuan() %>'><%= tl.getTenQuan() %></option>
<%}%>
%>